package com.augurit.gzcgwsp.qyzz.service;

import java.util.List;
import java.util.Map;

import org.springside.modules.orm.Page;

import jxl.Sheet;
import jxl.write.WritableSheet;

import com.augurit.gzcgwsp.qyzz.entity.YwRqQyzzAzWxRyZs;
import com.augurit.gzcgwsp.qyzz.entity.YwRqRyzzEquipment;
/**
 *  企业资质--企业主要设备与检测设备service
 * @author Administrator
 *
 */
public interface IYwRqQyzzEquipmentService {

    /**
     * 保存对象实体
     * @param YwRqQyzzJsRy
     */     
    public void saveEntity(YwRqRyzzEquipment entity);
    /**
     * 获取实体
     * @param YwRqQyzzJsRy
     */     
    public YwRqRyzzEquipment getEntity(long id);
    
    /**
     * 导入企业主要设备与检测设备
     * @param sheet
     * @param acceptNo
     * @param qyid
     * @param username
     */
	public String importQyzzEquipment(Sheet sheet, String acceptNo, long qyid,
			String username,Map map);

	/**
	 * excel填充数据
	 * @param wsThree
	 * @param acceptNo
	 * @param qyid
	 */
	public void copyWritableSheet(WritableSheet wsThree, String acceptNo,
			long qyid,String type);
	
	public List<YwRqRyzzEquipment> getQyzzEquipment( String acceptNo, long qyid);
    public Map importFinalData(Long qyid, String acceptNo);
    
	public Page<YwRqRyzzEquipment> search(Page<YwRqRyzzEquipment> page, Map map);
	
	public Page getPage(String acceptNo,
			Page page, Long qyid, String type);
}